package com.cskaoyan.mall.mapper;
import com.cskaoyan.mall.bean.bo.GoodsCreateBO;
import com.cskaoyan.mall.bean.bo.GoodsProductsBO;
import com.cskaoyan.mall.bean.vo.GoodsProductVO;
import org.apache.ibatis.annotations.Param;
import java.util.List;

import com.cskaoyan.mall.bean.GoodsProduct;

/**
 *Created by Zsp
 *2021/1/9
 */
public interface GoodsProductMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(GoodsProduct record);

    int insertSelective(GoodsProduct record);

    GoodsProduct selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(GoodsProduct record);

    int updateByPrimaryKey(GoodsProduct record);

    Integer selectAll();

    List<GoodsProductVO> selectGoodsProductByGoodsId(Integer id);

    int updateByGoodsProductBOSelective(GoodsProductsBO goodsProductsBO);

    int insertCreateGoodsProd(GoodsCreateBO.GoodsProdLite4CreatedBO prodLite4CreatedBO);
}
